package com.km.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * <p></p>
 * Created by zhezhiyong@163.com on 2017/10/10.
 */
public class DateUtil {
    private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

    public static String dateToString(Date date) {
        return sdf.format(date);
    }

}
